namespace SupplierCustomerManagement.Read.API.Applications.Commands.servicepersonals
{
    /// <summary>
    /// 服务人员列表数据传输对象
    /// </summary>
    public class ServicePersonalListDto
    {
        /// <summary>
        /// 服务人员ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 关联实体ID（客户ID或供应商ID）
        /// </summary>
        public int RelatedEntityId { get; set; }

        /// <summary>
        /// 关联实体类型（Customer/Supplier）
        /// </summary>
        public string RelatedEntityType { get; set; } = string.Empty;

        /// <summary>
        /// 客户所属市场
        /// </summary>
        public string? CustomerMarket { get; set; }

        /// <summary>
        /// 服务类型（客户经理等）
        /// </summary>
        public string ServiceType { get; set; } = string.Empty;

        /// <summary>
        /// 服务人员姓名
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 是否为默认服务人员
        /// </summary>
        public bool IsDefault { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public int CreatedBy { get; set; }

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? UpdatedTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public int? UpdatedBy { get; set; }
    }
}